Skip to content

Fixes a couple minor issues with bootstrap out of the box #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 3, 2025

Conversation

mattrasband
Copy link
Contributor

  1. The bootstrap.min.js doesn't include all the dependencies, and consequently does not work out of the box. Adding @popperjs/core isn't straightforward. However bootstrap.bundle.min.js does include what's needed for the quick path of getting up.
  2. The asset path to the bootstrap/dist/js directory is added twice. While it does not seem to negatively impact things - it's cleaner to ensure it's done once so we add it after the bootstrap icons we added instead.

mattrasband and others added 2 commits October 29, 2024 17:25
1. The `bootstrap.min.js` doesn't include all the dependencies, and
   consequently does not work out of the box. Adding `@popperjs/core`
   isn't straightforward.
1. The asset path to the bootstrap/dist/js directory is added twice.
   While it does not seem to negatively impact things - it's cleaner to
   ensure it's done once.
@dhh dhh merged commit e061000 into rails:main Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants